from django.db import models
from django.contrib.auth.models import AbstractUser


class User(AbstractUser):
    """
    user,
    photo 头像
    badges 徽章库
    """
    nickname = models.CharField(max_length=50)
    photo = models.URLField(max_length=256, blank=True,null=True)
    pass
    # def __str__(self):
    #     return str(self.username)




